package com.xxxx.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.comment.entity.VoucherOrder;
import com.xxxx.comment.entity.dto.Result;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lzf
 * @since 2021-12-22
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    Result seckillVoucher(Long voucherId);

    void createVoucherOrder(VoucherOrder voucherOrder);

    Result seckillVoucherOld(Long voucherId);

    Result createVoucherOrderOld(Long voucherId);

    Result seckillVoucherNew(Long voucherId);

    void createVoucherOrderOld1(VoucherOrder voucherOrder);
}
